summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 18:14:00 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2012-08-11 18:14:00 -0400
commit4ad79e204e221b71378d599bc9ed5337f1fa2c58 (patch)
treeeedb96914cfc76dd9a346e5557a3809add9243a1 /test/lib
parenta4c651420b455e54dafd4e9069ab31632271148b (diff)
downloadsqlalchemy-4ad79e204e221b71378d599bc9ed5337f1fa2c58.tar.gz
- update file text
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/profiles.txt10
-rw-r--r--test/lib/profiling.py9
2 files changed, 6 insertions, 13 deletions
diff --git a/test/lib/profiles.txt b/test/lib/profiles.txt
index c6df176d6..5b350bc1b 100644
--- a/test/lib/profiles.txt
+++ b/test/lib/profiles.txt
@@ -2,18 +2,14 @@
# This file is written out on a per-environment basis.
# For each test in aaa_profiling, the corresponding function and
# environment is located within this file. If it doesn't exist,
-# the file is altered and written out again.
+# the test is skipped.
# If a callcount does exist, it is compared to what we received.
# assertions are raised if the counts do not match.
#
# To add a new callcount test, apply the function_call_count
-# decorator and re-run the tests - it will be added here.
+# decorator and re-run the tests using the --write-profiles option -
+# this file will be rewritten including the new count.
#
-# The file is versioned so that well known platforms are available
-# for assertions. Source control updates on local test environments
-# not already listed will create locally modified versions of the
-# file that can be committed, or not, as well.
-
# TEST: test.aaa_profiling.test_compiler.CompileTest.test_insert
diff --git a/test/lib/profiling.py b/test/lib/profiling.py
index bf7f16db4..6142c41c9 100644
--- a/test/lib/profiling.py
+++ b/test/lib/profiling.py
@@ -163,17 +163,14 @@ class ProfileStatsFile(object):
"# This file is written out on a per-environment basis.\n"\
"# For each test in aaa_profiling, the corresponding function and \n"\
"# environment is located within this file. If it doesn't exist,\n"\
- "# the file is altered and written out again.\n"\
+ "# the test is skipped.\n"\
"# If a callcount does exist, it is compared to what we received. \n"\
"# assertions are raised if the counts do not match.\n"\
"# \n"\
"# To add a new callcount test, apply the function_call_count \n"\
- "# decorator and re-run the tests - it will be added here.\n"\
+ "# decorator and re-run the tests using the --write-profiles option - \n"\
+ "# this file will be rewritten including the new count.\n"\
"# \n"\
- "# The file is versioned so that well known platforms are available\n"\
- "# for assertions. Source control updates on local test environments\n"\
- "# not already listed will create locally modified versions of the \n"\
- "# file that can be committed, or not, as well.\n\n"\
"" % (self.fname)
def _read(self):