| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
| if not isinstance(name, (str, bytes)): | ||
| with self.assertRaises(TypeError): | ||
| func(name, *func_args) | ||
| # don't test TypeError here |
There was a problem hiding this comment.
Other types are already well tested in other test methods of test_os.
Sorry, something went wrong.
There was a problem hiding this comment.
Then why these filenames are occurred here at first place? bytearray and memoryview should not be added in self.bytes_filenames.
BTW, does checking condition sys.platform == "win32" above still have sense?
Sorry, something went wrong.
There was a problem hiding this comment.
I removed bytearray and memoryviews from self.bytes_filenames (and self.filenames).
I removed the code specific to Windows: let's see how CIs like my updated change :-)
Sorry, something went wrong.
|
@serhiy-storchaka: Would you mind to review the updated PR? |
Sorry, something went wrong.
Address Serhiy Storchaka's review.
|
"Tests / Check if generated files are up to date (pull_request)" failed for an unrelated reason: python3.8 ./Tools/build/update_file.py ./Include/internal/pycore_ast.h ./Include/internal/pycore_ast.h.new
File "./Tools/build/generate_opcode_h.py", line 111
with (open(outfile, 'w') as fobj, open(internaloutfile, 'w') as iobj):
^
SyntaxError: invalid syntax
I rebased my PR to see if it helps. |
Sorry, something went wrong.
|
Thanks for the review @serhiy-storchaka. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Address Serhiy Storchaka's review.