Skip to content

Commit

Permalink
Fix testPlusEqualsOnDict
Browse files Browse the repository at this point in the history
The said test fails if the --incompatible_disallow_dict_plus flag is flipped by
default (e.g. in a .bazelrc file)

PiperOrigin-RevId: 180553910
  • Loading branch information
vladmos authored and Copybara-Service committed Jan 2, 2018
1 parent e99279b commit 541afa6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ public void testPlusEqualsOnTuple() throws Exception {

@Test
public void testPlusEqualsOnDict() throws Exception {
new SkylarkTest().setUp("def func():",
new SkylarkTest("--incompatible_disallow_dict_plus=false").setUp("def func():",
" d = {'a' : 1}",
" d += {'b' : 2}",
" return d",
Expand Down

0 comments on commit 541afa6

Please sign in to comment.