D5759: tests: cast division result to int
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Jan 30 17:13:27 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa3916dc2b37a: tests: cast division result to int (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5759?vs=13596&id=13603
REVISION DETAIL
https://phab.mercurial-scm.org/D5759
AFFECTED FILES
tests/test-remotefilelog-datapack.py
CHANGE DETAILS
diff --git a/tests/test-remotefilelog-datapack.py b/tests/test-remotefilelog-datapack.py
--- a/tests/test-remotefilelog-datapack.py
+++ b/tests/test-remotefilelog-datapack.py
@@ -291,7 +291,7 @@
class testdatapackstore(datapack.datapackstore):
# Ensures that we are not keeping everything in the cache.
- DEFAULTCACHESIZE = numpacks / 2
+ DEFAULTCACHESIZE = int(numpacks / 2)
store = testdatapackstore(uimod.ui(), packdir)
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list