Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Config file for automatic testing at travis-ci.org

sudo: false
language: python

python:
Expand All @@ -9,10 +9,12 @@ python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.6.0"
- "3.6.1"

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements.txt

# command to run tests, e.g. python setup.py test
script: python setup.py test
cache: pip
3 changes: 3 additions & 0 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ def test_joined_str(self):
self.check_roundtrip('f"{key}={value!s}"')
self.check_roundtrip('f"{key}={value!r}"')
self.check_roundtrip('f"{key}={value!a}"')

@unittest.skipIf(sys.version_info != (3, 6, 0), "Only supported on 3.6.0")
def test_joined_str_361(self):
self.check_roundtrip('f"{key:4}={value!s}"')
self.check_roundtrip('f"{key:02}={value!r}"')
self.check_roundtrip('f"{key:6}={value!a}"')
Expand Down