C:\pwb\GIT\core>pwb.py tests/exceptions_tests TestDeprecatedExceptions.test_Uplo adWarning tests: max_retries reduced from 25 to 1 F ====================================================================== FAIL: test_UploadWarning (__main__.TestDeprecatedExceptions) Test exceptions.UploadWarning is deprecated only. ---------------------------------------------------------------------- Traceback (most recent call last): File ".\tests\exceptions_tests.py", line 38, in test_UploadWarning 'pywikibot.exceptions.UploadWarning is deprecated, ' File "C:\pwb\GIT\core\tests\aspects.py", line 1262, in assertDeprecation self.assertDeprecationFile(self.expect_warning_filename) File "C:\pwb\GIT\core\tests\aspects.py", line 1276, in assertDeprecationFile self.assertEqual(item.filename, filename) AssertionError: 'tests/exceptions_tests' != u'.\\tests\\exceptions_tests.py' ---------------------------------------------------------------------- Ran 1 test in 0.001s FAILED (failures=1) C:\pwb\GIT\core>
Description
Description
Event Timeline
Comment Actions
Which Python version was this? This might have been caused by using tests/exceptions_tests in the command line instead of tests\exceptions_tests.