-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
in the version just released to PyPI, I'm getting the following test failures:
======================================================================
FAIL: test_091 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 804, in test_091
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=False
======================================================================
FAIL: test_097 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 852, in test_097
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=False
======================================================================
FAIL: test_098 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 860, in test_098
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m', strict=True and incode_mandatory=False
======================================================================
FAIL: test_125 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 1076, in test_125
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=True
======================================================================
FAIL: test_131 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 1124, in test_131
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=True
======================================================================
FAIL: test_091 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 804, in test_091
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=False
======================================================================
FAIL: test_097 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 852, in test_097
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=False
======================================================================
FAIL: test_098 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 860, in test_098
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m', strict=True and incode_mandatory=False
======================================================================
FAIL: test_125 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 1076, in test_125
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=True
======================================================================
FAIL: test_131 (ukpostcodeparser.test.parser.PostcodeTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 1124, in test_131
expected=InvalidPostcodeError
File "/tmp/nix-build-python3.6-UkPostcodeParser-1.1.1.drv-0/UkPostcodeParser-1.1.1/ukpostcodeparser/test/parser.py", line 63, in run_parser
self.fail(m.format(expected.__name__, postcode, strict, incode_mandatory))
AssertionError: 'InvalidPostcodeError' exception not raised for postcode='w1m 4zz', strict=True and incode_mandatory=True
Am I doing something wrong?
mtelka
Metadata
Metadata
Assignees
Labels
No labels