Skip to content

Commit

Permalink
Add LC_ALL=C to Python 3.6 test on GNU/Linux
Browse files Browse the repository at this point in the history
And correct the changelog + documentation.
  • Loading branch information
BoboTiG committed Jan 29, 2020
1 parent d557574 commit 9134164
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ matrix:
env: TOXENV=py35
- os: linux
python: "3.6"
env: TOXENV=py36
env:
- TOXENV=py36
# To help catch regression seen in #615
- LC_ALL=C
- os: linux
python: "3.7"
env: TOXENV=py37
Expand Down
6 changes: 3 additions & 3 deletions changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Changelog

Other Changes
=============
- Fixed Python 3.6 installation when the OS locale is set to POSIX (`#615 <https://github.com/gorakhargosh/watchdog/pull/615>`__)
- [snapshot] Added EmptyDirectorySnapshot (`#613 <https://github.com/gorakhargosh/watchdog/pull/613>`__)
- Thanks to our beloved contributors: @Ajordat, @tehkirill
- Fixed Python 2.7 to 3.6 installation when the OS locale is set to POSIX (`#615 <https://github.com/gorakhargosh/watchdog/pull/615>`__)
- [snapshot] Added ``EmptyDirectorySnapshot`` (`#613 <https://github.com/gorakhargosh/watchdog/pull/613>`__)
- Thanks to our beloved contributors: @Ajordat, @tehkirill, @BoboTiG


0.10.0
Expand Down
2 changes: 1 addition & 1 deletion src/watchdog/utils/dirsnapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
:members:
:show-inheritance:
.. autoclass:: DirectorySnapshotEmpty
.. autoclass:: EmptyDirectorySnapshot
:members:
:show-inheritance:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_snapshot_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def inode(self, path):


def test_empty_snapshot(p):
# Create a file and declare a DirectorySnapshot and a DirectorySnapshotEmpty.
# Create a file and declare a DirectorySnapshot and a EmptyDirectorySnapshot.
# When we make the diff, although both objects were declared with the same items on
# the directory, the file and directories created BEFORE the DirectorySnapshot will
# be detected as newly created.
Expand Down

0 comments on commit 9134164

Please sign in to comment.