New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-31802: Fix importing native path module before importing os. #4017
bpo-31802: Fix importing native path module before importing os. #4017
Conversation
Lib/test/test_genericpath.py
Outdated
@@ -486,6 +486,10 @@ def test_relpath_errors(self): | |||
with self.assertRaisesRegex(TypeError, 'bytearray'): | |||
self.pathmodule.relpath(bytearray(b'foo'), bytearray(b'bar')) | |||
|
|||
def test_import(self): | |||
support.script_helper.assert_python_ok( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
support.script_helper
needs to be imported.
When you're done making the requested changes, leave the comment: |
Thanks @zware! I have made the requested changes; please review again. |
Thanks for making the requested changes! @zware: please review the changes made to this pull request. |
Thanks @serhiy-storchaka for the PR |
…honGH-4017) (cherry picked from commit 3460198)
GH-5129 is a backport of this pull request to the 3.6 branch. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
https://bugs.python.org/issue31802