diff options
| author | Josh Klar <josh@klar.sh> | 2019-09-26 16:48:02 -0700 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-03-09 08:16:07 -0500 |
| commit | 40bc05ee1eafcc2f0b3ed48f212a1526b65163bc (patch) | |
| tree | 3f665fe7441eec92bbedd3f2e3162446397636e4 /tests | |
| parent | 3a7a5ba6860c787cc691b5c828eff9a130f39526 (diff) | |
Address dpgeorge feedback - largely simplifications
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/basics/string_pep498_fstring.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/basics/string_pep498_fstring.py b/tests/basics/string_pep498_fstring.py index f1ad1f19b..f4e76c831 100644 --- a/tests/basics/string_pep498_fstring.py +++ b/tests/basics/string_pep498_fstring.py @@ -111,16 +111,3 @@ assert ('a' 'b' f'{x}' f'str<{y:^4}>' 'd' 'e') == 'ab10str< hi >de' # Other tests assert f'{{{4*10}}}' == '{40}' - -try: - eval("fr''") -except NotImplementedError: - pass -else: - raise RuntimeError('expected raw f-string to raise NotImplementedError') -try: - eval("rf''") -except NotImplementedError: - pass -else: - raise RuntimeError('expected raw f-string to raise NotImplementedError') |
