Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Drop support for Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Aug 31, 2020
1 parent 361f9a3 commit 2cca069
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 4 additions & 0 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Release Notes
Current Development Version
---------------------------

Major Updates

* Support for Python 3.5 has been dropped (#510).

New Features

* Add flag to disable `# noqa` comment processing in API (#485).
Expand Down
8 changes: 0 additions & 8 deletions src/tests/parser_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ def do_something(pos_param0, pos_param1, kw_param0="default"):

def test_simple_fstring():
"""Test parsing of a function with a simple fstring as a docstring."""
# fstrings are not supported in Python 3.5
if sys.version_info[0:2] == (3, 5):
return

parser = Parser()
code = CodeSnippet("""\
def do_something(pos_param0, pos_param1, kw_param0="default"):
Expand Down Expand Up @@ -85,10 +81,6 @@ def do_something(pos_param0, pos_param1, kw_param0="default"):

def test_fstring_with_args():
"""Test parsing of a function with an fstring with args as a docstring."""
# fstrings are not supported in Python 3.5
if sys.version_info[0:2] == (3, 5):
return

parser = Parser()
code = CodeSnippet("""\
foo = "bar"
Expand Down

0 comments on commit 2cca069

Please sign in to comment.