Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
Update comment about minimum file size for field_config testing
Browse files Browse the repository at this point in the history
  • Loading branch information
joakim-hove authored and ManInFez committed Mar 1, 2021
1 parent 4768487 commit 10cd45e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/res/enkf/test_field_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ def test_field_guess_filetype(self):
f.write("-- my comment\n")
f.write("-- more comments\n")
f.write("SOWCR\n")
for i in range(256 // 8): # technicalities demand file has >= 256B
# The function guessing file types determines whether the file
# is binary or 7 bit ASCII based on bit 8 heuristics. For this
# to be "reliable" the file is required to be more than 256
# bytes.
for i in range(256 // 8):
f.write("0 0 0 0\n")

ft = FieldConfig.guessFiletype(fname)
Expand Down

0 comments on commit 10cd45e

Please sign in to comment.