Skip to content

new test failures #8

Description

@langston-barrett

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions