Skip to content

Commit

Permalink
Invert test to match this behavior change
Browse files Browse the repository at this point in the history
  • Loading branch information
brandjon committed Jan 7, 2019
1 parent 513d32d commit 6207235
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/test/shell/bazel/python_version_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,8 @@ EOF
# a separate suite.

# Tests that a non-standard library module on the PYTHONPATH added by Bazel
# can override the standard library. This behavior is not necessarily ideal, but
# it is the current semantics; see #6532 about changing that.
# cannot override the standard library. (See #6532 for discussion on this
# behavior.)
function test_source_file_does_not_override_standard_library() {
mkdir -p test

Expand Down Expand Up @@ -506,8 +506,8 @@ EOF

bazel run //test:main \
&> $TEST_log || fail "bazel run failed"
# Indicates that the local module overrode the system one.
expect_log "I am lib!"
# Presence would indicate that the local module overrode the system one.
expect_not_log "I am lib!"
}

run_suite "Tests for how the Python rules handle Python 2 vs Python 3"

0 comments on commit 6207235

Please sign in to comment.