◐ Shell
reader mode source ↗
Skip to content

gh-104057: Fix direct invocation of test_support#104069

Merged
zware merged 1 commit into
python:mainfrom
Eclips4:fix_test_support
May 11, 2023
Merged

gh-104057: Fix direct invocation of test_support#104069
zware merged 1 commit into
python:mainfrom
Eclips4:fix_test_support

Conversation

@Eclips4

@Eclips4 Eclips4 commented May 1, 2023

Copy link
Copy Markdown
Member
./python Lib/test/test_support.py
Running Debug|x64 interpreter...
.....................s.F......s.........s...
======================================================================
FAIL: test_ignored_deprecations_are_silent (__main__.TestSupport.test_ignored_deprecations_are_silent)
Test support.ignore_deprecations_from() silences warnings
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\KIRILL-1\CLionProjects\cpython\Lib\test\test_support.py", line 52, in test_ignored_deprecations_are_silent       
    self.assertEqual(len(messages), 0, messages)
AssertionError: 1 != 0 : ['You should NOT be seeing this.']

----------------------------------------------------------------------
Ran 44 tests in 8.697s

FAILED (failures=1, skipped=3)

However, there's an another bug with test_make_bad_fd (only on Windows) but it's not related.

@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label May 1, 2023
@AlexWaygood AlexWaygood changed the title gh-104057: Fix direct invocatoin of test_support May 1, 2023
@furkanonder

Copy link
Copy Markdown
Contributor

LGTM.

@zware zware merged commit 27419a7 into python:main May 11, 2023
carljm added a commit to carljm/cpython that referenced this pull request May 11, 2023
* main:
  pythongh-104057: Fix direct invocation of test_support (pythonGH-104069)
  pythongh-87729: improve hit rate of LOAD_SUPER_ATTR specialization (python#104270)
  pythongh-101819: Fix inverted debug preprocessor check in winconsoleio.c (python#104388)
@Eclips4 Eclips4 deleted the fix_test_support branch May 12, 2023 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants