]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- update file text
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 11 Aug 2012 22:14:00 +0000 (18:14 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 11 Aug 2012 22:14:00 +0000 (18:14 -0400)
test/lib/profiles.txt
test/lib/profiling.py

index c6df176d6a62ee5572f1fad0132a4de26d9b2e69..5b350bc1b9bc038e3bf9a809e42bec43fa78aea2 100644 (file)
@@ -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
 
index bf7f16db41d960092815eb2331ae62fd9f184634..6142c41c9ead08b4393618313f86e05738640b94 100644 (file)
@@ -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):