| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| import_helper.import_module, "foo") | ||
|
|
||
| # TODO: RUSTPYTHON | ||
| @unittest.expectedFailure |
There was a problem hiding this comment.
broken due to #4540
Sorry, something went wrong.
| support.check_syntax_error(self, "x=1") | ||
|
|
||
| # TODO: RUSTPYTHON | ||
| @unittest.expectedFailure |
There was a problem hiding this comment.
broken due to #4540
Sorry, something went wrong.
| # TODO: RUSTPYTHON | ||
| @unittest.expectedFailure | ||
| def test_has_strftime_extensions(self): | ||
| if support.is_emscripten or sys.platform == "win32": | ||
| self.assertFalse(support.has_strftime_extensions) | ||
| else: | ||
| self.assertTrue(support.has_strftime_extensions) |
There was a problem hiding this comment.
support.has_strftime_extensions will always be False when sys.platform == "win32".
I suggest using the os-dependent version:
def test_whatever(self):
...
# TODO: RUSTPYTHON
if sys.platform != "win32":
# TODO: RUSTPYTHON
test_whatever = unittest.expectedFailure(test_whatever)
Sorry, something went wrong.
| # Does strftime() support glibc extension like '%4Y'? | ||
| has_strftime_extensions = False | ||
| if sys.platform != "win32": | ||
| # bpo-47037: Windows debug builds crash with "Debug Assertion Failed" | ||
| try: | ||
| has_strftime_extensions = time.strftime("%4Y") != "%4Y" | ||
| except ValueError: | ||
| pass |
There was a problem hiding this comment.
@itsankitkp This is probably what I was looking for in #4474.
Sorry, something went wrong.
| if _buggy_ucrt is None: | ||
| if(sys.platform == 'win32' and | ||
| locale.getdefaultlocale()[1] == 'cp65001' and | ||
| locale.getencoding() == 'cp65001' and |
There was a problem hiding this comment.
This is blocked on #4155.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
blockers
non-blockers